﻿
namespace MathService
{
    public static partial class Consts
    {
        public enum SIPrefixExp
        {
            /// <summary>10^24</summary>
            yotta = 24,
            /// <summary>10^21</summary>
            zetta = 21,
            /// <summary>10^18</summary>
            exa = 18,
            /// <summary>10^15</summary>
            peta = 15,
            /// <summary>10^12</summary>
            tera = 12,
            /// <summary>10^9</summary>
            giga = 9,
            /// <summary>10^6</summary>
            mega = 6,
            /// <summary>10^3</summary>
            kilo = 3,
            /// <summary>10^2</summary>
            hecto = 2,
            /// <summary>10^1</summary>
            deca = 1,
            /// <summary>10^0</summary>
            none = 0,
            /// <summary>10^-1</summary>
            deci = -1,
            /// <summary>10^-2</summary>
            santi = -2,
            /// <summary>10^-3</summary>
            milli = -3,
            /// <summary>10^-6</summary>
            micro = -6,
            /// <summary>10^-9</summary>
            nano = -9,
            /// <summary>10^-12</summary>
            pico = -12,
            /// <summary>10^-15</summary>
            femto = -15,
            /// <summary>10^-18</summary>
            atto = -18,
            /// <summary>10^-21</summary>
            zepto = -21,
            /// <summary>10^-24</summary>
            yocto = -24
        }

        public static class SIPrefix
        {
            /// <summary>10^24</summary>
            public const double yotta = 1e24;
            /// <summary>10^21</summary>
            public const double zetta = 1e21;
            /// <summary>10^18</summary>
            public const double exa = 1e18;
            /// <summary>10^15</summary>
            public const double peta = 1e15;
            /// <summary>10^12</summary>
            public const double tera = 1e12;
            /// <summary>10^9</summary>
            public const double giga = 1e9;
            /// <summary>10^6</summary>
            public const double mega = 1e6;
            /// <summary>10^3</summary>
            public const double kilo = 1e3;
            /// <summary>10^2</summary>
            public const double hecto = 12e2;
            /// <summary>10^1</summary>
            public const double deca = 1e1;
            /// <summary>10^0</summary>
            public const double none = 1e0;
            /// <summary>10^-1</summary>
            public const double deci = 1e-1;
            /// <summary>10^-2</summary>
            public const double santi = 1e-2;
            /// <summary>10^-3</summary>
            public const double milli = 1e-3;
            /// <summary>10^-6</summary>
            public const double micro = 1e-6;
            /// <summary>10^-9</summary>
            public const double nano = 1e-9;
            /// <summary>10^-12</summary>
            public const double pico = 1e-12;
            /// <summary>10^-15</summary>
            public const double femto = 1e-15;
            /// <summary>10^-18</summary>
            public const double atto = 1e-18;
            /// <summary>10^-21</summary>
            public const double zepto = 1e-21;
            /// <summary>10^-24</summary>
            public const double yocto = 1e-24;
        }
    }
}
